package com.kfm.am.exec;

//
public class SingleTon {

    private SingleTon() {
        System.out.println("init");
    }

    private static SingleTon instance;
    public static SingleTon getInstance() {
        synchronized (SingleTon.class) {
            if (instance == null) {
                instance = new SingleTon();
            }
        }
        return instance;
    }

}
